12. Data Augmentation
09 - Data Augmentation
Flipping Images And Steering Measurements
A effective technique for helping with the left turn bias involves flipping images and taking the opposite sign of the steering measurement. For example:
import numpy as np
image_flipped = np.fliplr(image)
measurement_flipped = -measurement
The cv2 library also has similar functionality with the flip method .
![Image captured by the center camera](img/center-2017-02-06-16-20-04-855.jpg)
Image captured by the center camera
![Flipped image from the center camera](img/center-2017-02-06-16-20-04-855-flipped.jpg)
Flipped image from the center camera